<template>
	<div :style="{marginTop: value.margin + 'px', padding: value.paddingy + 'px ' + value.paddingx + 'px'}">
		<h3 class="md-title" :style="{color: value.color, backgroundColor: value.bgcolor, lineHeight: value.height + 'px', textAlign: value.align}">{{value.text || '请输入标题内容'}}</h3>
	</div>
</template>

<script>
export default {
	name: 'titleContent',
	props: {
		value: Object
	}
}
</script>

<style>
</style>